package com.gec.oasys.pojo;

import java.util.List;

public class SysMenu {
    private Integer id;

    private Integer pid;

    private String title;

    private String icon;

    private String href;

    private String spread;

    private Integer sort;

    private String is_top;

    private String del_flag;

    private Integer level;

    private String type;

    private String permission;

    private List<SysMenu> children;
    private Boolean checked;
    private Integer roleId;




    public SysMenu(Integer id, Integer pid, String title, String icon, String href, String spread, Integer sort, String is_top, String del_flag, Integer level, String type, String permission) {
        this.id = id;
        this.pid = pid;
        this.title = title;
        this.icon = icon;
        this.href = href;
        this.spread = spread;
        this.sort = sort;
        this.is_top = is_top;
        this.del_flag = del_flag;
        this.level = level;
        this.type = type;
        this.permission = permission;
    }

    public SysMenu() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getSpread() {
        return spread;
    }

    public void setSpread(String spread) {
        this.spread = spread;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIs_top() {
        return is_top;
    }

    public void setIs_top(String is_top) {
        this.is_top = is_top;
    }

    public String getDel_flag() {
        return del_flag;
    }

    public void setDel_flag(String del_flag) {
        this.del_flag = del_flag;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public List<SysMenu> getChildren() {
        return children;
    }

    public void setChildren(List<SysMenu> children) {
        this.children = children;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "SysMenu{" +
                "id=" + id +
                ", pid=" + pid +
                ", title='" + title + '\'' +
                ", icon='" + icon + '\'' +
                ", href='" + href + '\'' +
                ", spread='" + spread + '\'' +
                ", sort=" + sort +
                ", is_top='" + is_top + '\'' +
                ", del_flag='" + del_flag + '\'' +
                ", level=" + level +
                ", type='" + type + '\'' +
                ", permission='" + permission + '\'' +
                ", children=" + children +
                ", checked=" + checked +
                ", roleId=" + roleId +
                '}';
    }
}